package com.juyu.reader.pc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.juyu.reader.pc.dao.ThemeDao;
import com.juyu.reader.pc.model.Theme;

@Service
public class ThemeService {
	@Autowired
	public ThemeDao themeDao;

	public List<Theme> findTheme(Theme theme) {
		return themeDao.findTheme(theme);
	}

	public int countTheme(Theme theme) {
		return themeDao.countTheme(theme);
	}

}
